package com.lecture.springlecture.entity;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author luyn
 * @description 分片文件参数类
 * @Date 2020/11/4 10:26
 * @Version 1.0
 */
@Data
public class MultipartFileParam {

    //文件传输任务id
    private String taskId;

    //当前为第几片
    private int chunk;

    //每个块的大小
    private long size;

    //分片总数
    private long chunkTotal;

    //文件对象
    private MultipartFile file;
}
